package com.touni.designpattern.builderpattern;

import com.touni.designpattern.builderpattern.drink.Water;
import com.touni.designpattern.builderpattern.nodrink.ChickenRice;
import com.touni.designpattern.builderpattern.nodrink.WhiteRice;

/**
 * @ClassName : MealsFactory
 * @Description :
 * @Author : lwq
 * @Date: 2020-10-20 19:10
 */
public class MealsFactory {

    public static Meal prepareWaterChickenMeals(){
        Meal meal = new Meal();
        meal.addItem(new Water());
        meal.addItem(new ChickenRice());
        meal.addItem(new WhiteRice());
        return meal;
    }

}
